package me.jiatao.jetpack.paging;

import android.graphics.Color;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

/**
 * Created by JiaTao on 2018/10/12.
 * Email: 535318720@qq.com
 * Version: 1.0
 * Description:
 */
public class MyViewHolder extends RecyclerView.ViewHolder {
    public TextView text1;
    public TextView text2;

    public MyViewHolder(View itemView) {
        super(itemView);

        text1 = itemView.findViewById(android.R.id.text1);
        text1.setTextColor(Color.RED);

        text2 = itemView.findViewById(android.R.id.text2);
        text2.setTextColor(Color.BLUE);
    }
}
